projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8da45a
)
(forward_to_next_line_start): Return 0 when reaching the
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 9 Aug 2002 17:29:34 +0000
(17:29 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 9 Aug 2002 17:29:34 +0000
(17:29 +0000)
end of the buffer.
src/ChangeLog
patch
|
blob
|
history
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index c48fcfa3b10d87ddcfba91777e8d22ef780ef782..400d567fb3e9c457b8a85bf9325df8f83151c907 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de>
+
+ * xdisp.c (forward_to_next_line_start): Return 0 when reaching the
+ end of the buffer.
+
2002-08-08 Ken Raeburn <raeburn@mit.edu>
* coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 783a1b9423f616dcce053b4e6de3343be7c38939..ba7bfad414c3f3976519621a8c275863c60efd50 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-3869,7
+3869,7
@@
forward_to_next_line_start (it, skipped_p)
n += STRINGP (it->string) ? 0 : 1)
{
if (!get_next_display_element (it))
-
break
;
+
return 0
;
newline_found_p = it->what == IT_CHARACTER && it->c == '\n';
set_iterator_to_next (it, 0);
}